package com.spic.business.registrationform.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 员工安全生产奖惩记录对象 archive_staff_disciplinary_records
 * 
 * @author spic
 * @date 2022-07-20
 */
public class ArchiveStaffDisciplinaryRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long rewardsId;

    /** 员工档案id */
    @Excel(name = "员工档案编号")
    private String staffArchiveId;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "奖惩日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rewardsDate;

    /** $column.columnComment */
    @Excel(name = "奖惩等级")
    private String rewardsGrade;

    /** 奖惩事由 */
    @Excel(name = "奖惩事由")
    private String rewardsReason;

    /** 表彰或处分情况 */
    @Excel(name = "表彰或处分情况")
    private String rewardsDetails;

    public void setRewardsId(Long rewardsId) 
    {
        this.rewardsId = rewardsId;
    }

    public Long getRewardsId() 
    {
        return rewardsId;
    }
    public void setStaffArchiveId(String staffArchiveId) 
    {
        this.staffArchiveId = staffArchiveId;
    }

    public String getStaffArchiveId() 
    {
        return staffArchiveId;
    }
    public void setRewardsDate(Date rewardsDate) 
    {
        this.rewardsDate = rewardsDate;
    }

    public Date getRewardsDate() 
    {
        return rewardsDate;
    }
    public void setRewardsGrade(String rewardsGrade) 
    {
        this.rewardsGrade = rewardsGrade;
    }

    public String getRewardsGrade() 
    {
        return rewardsGrade;
    }
    public void setRewardsReason(String rewardsReason) 
    {
        this.rewardsReason = rewardsReason;
    }

    public String getRewardsReason() 
    {
        return rewardsReason;
    }
    public void setRewardsDetails(String rewardsDetails) 
    {
        this.rewardsDetails = rewardsDetails;
    }

    public String getRewardsDetails() 
    {
        return rewardsDetails;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rewardsId", getRewardsId())
            .append("staffArchiveId", getStaffArchiveId())
            .append("rewardsDate", getRewardsDate())
            .append("rewardsGrade", getRewardsGrade())
            .append("rewardsReason", getRewardsReason())
            .append("rewardsDetails", getRewardsDetails())
            .toString();
    }
}
